﻿using UnityEngine;
using System.Collections;

public class LaneVisual : MonoBehaviour {

	public GameObject[] Lanes;
	
	void OnDrawGizmos()
	{
		Gizmos.color = Color.red; // make the wireframe this color

		foreach (GameObject lane in Lanes) // each object on the array, giving the name lane to the current one
		{
			Gizmos.DrawWireCube (lane.transform.position, lane.transform.lossyScale);
		}
	}
}